var mongoose = require("./db.js")

var Schema = mongoose.Schema;

var commodityPhotoSchema = new Schema({
    //商品图片
    commodityPhotos:{type:Array},
    //关联商品id
    commodityPhotoID:mongoose.Types.ObjectId
})
var commodityPhoto = mongoose.model("commodityPhoto",commodityPhotoSchema,"commodityPhoto")
module.exports = commodityPhoto
